Optimal. Leaf size=161 \[ -\frac {a^3 \coth ^3(c+d x)}{3 d}+\frac {a^3 \coth (c+d x)}{d}+\frac {1}{128} b x \left (384 a^2+144 a b+35 b^2\right )+\frac {b^2 (144 a+163 b) \sinh (c+d x) \cosh ^3(c+d x)}{192 d}-\frac {3 b^2 (80 a+31 b) \sinh (c+d x) \cosh (c+d x)}{128 d}+\frac {b^3 \sinh (c+d x) \cosh ^7(c+d x)}{8 d}-\frac {25 b^3 \sinh (c+d x) \cosh ^5(c+d x)}{48 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.38, antiderivative size = 161, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {3217, 1259, 1805, 1261, 207} \[ \frac {1}{128} b x \left (384 a^2+144 a b+35 b^2\right )-\frac {a^3 \coth ^3(c+d x)}{3 d}+\frac {a^3 \coth (c+d x)}{d}+\frac {b^2 (144 a+163 b) \sinh (c+d x) \cosh ^3(c+d x)}{192 d}-\frac {3 b^2 (80 a+31 b) \sinh (c+d x) \cosh (c+d x)}{128 d}+\frac {b^3 \sinh (c+d x) \cosh ^7(c+d x)}{8 d}-\frac {25 b^3 \sinh (c+d x) \cosh ^5(c+d x)}{48 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 207
Rule 1259
Rule 1261
Rule 1805
Rule 3217
Rubi steps
\begin {align*} \int \text {csch}^4(c+d x) \left (a+b \sinh ^4(c+d x)\right )^3 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (a-2 a x^2+(a+b) x^4\right )^3}{x^4 \left (1-x^2\right )^5} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac {b^3 \cosh ^7(c+d x) \sinh (c+d x)}{8 d}+\frac {\operatorname {Subst}\left (\int \frac {8 a^3-40 a^3 x^2+\left (80 a^3+24 a^2 b-b^3\right ) x^4-8 \left (10 a^3+9 a^2 b+b^3\right ) x^6+8 (5 a-b) (a+b)^2 x^8-8 (a+b)^3 x^{10}}{x^4 \left (1-x^2\right )^4} \, dx,x,\tanh (c+d x)\right )}{8 d}\\ &=-\frac {25 b^3 \cosh ^5(c+d x) \sinh (c+d x)}{48 d}+\frac {b^3 \cosh ^7(c+d x) \sinh (c+d x)}{8 d}-\frac {\operatorname {Subst}\left (\int \frac {-48 a^3+192 a^3 x^2-\left (288 a^3+144 a^2 b+19 b^3\right ) x^4+96 (2 a-b) (a+b)^2 x^6-48 (a+b)^3 x^8}{x^4 \left (1-x^2\right )^3} \, dx,x,\tanh (c+d x)\right )}{48 d}\\ &=\frac {b^2 (144 a+163 b) \cosh ^3(c+d x) \sinh (c+d x)}{192 d}-\frac {25 b^3 \cosh ^5(c+d x) \sinh (c+d x)}{48 d}+\frac {b^3 \cosh ^7(c+d x) \sinh (c+d x)}{8 d}+\frac {\operatorname {Subst}\left (\int \frac {192 a^3-576 a^3 x^2+3 \left (192 a^3+192 a^2 b-48 a b^2-29 b^3\right ) x^4-192 (a+b)^3 x^6}{x^4 \left (1-x^2\right )^2} \, dx,x,\tanh (c+d x)\right )}{192 d}\\ &=-\frac {3 b^2 (80 a+31 b) \cosh (c+d x) \sinh (c+d x)}{128 d}+\frac {b^2 (144 a+163 b) \cosh ^3(c+d x) \sinh (c+d x)}{192 d}-\frac {25 b^3 \cosh ^5(c+d x) \sinh (c+d x)}{48 d}+\frac {b^3 \cosh ^7(c+d x) \sinh (c+d x)}{8 d}-\frac {\operatorname {Subst}\left (\int \frac {-384 a^3+768 a^3 x^2-3 \left (128 a^3+384 a^2 b+144 a b^2+35 b^3\right ) x^4}{x^4 \left (1-x^2\right )} \, dx,x,\tanh (c+d x)\right )}{384 d}\\ &=-\frac {3 b^2 (80 a+31 b) \cosh (c+d x) \sinh (c+d x)}{128 d}+\frac {b^2 (144 a+163 b) \cosh ^3(c+d x) \sinh (c+d x)}{192 d}-\frac {25 b^3 \cosh ^5(c+d x) \sinh (c+d x)}{48 d}+\frac {b^3 \cosh ^7(c+d x) \sinh (c+d x)}{8 d}-\frac {\operatorname {Subst}\left (\int \left (-\frac {384 a^3}{x^4}+\frac {384 a^3}{x^2}+\frac {3 b \left (384 a^2+144 a b+35 b^2\right )}{-1+x^2}\right ) \, dx,x,\tanh (c+d x)\right )}{384 d}\\ &=\frac {a^3 \coth (c+d x)}{d}-\frac {a^3 \coth ^3(c+d x)}{3 d}-\frac {3 b^2 (80 a+31 b) \cosh (c+d x) \sinh (c+d x)}{128 d}+\frac {b^2 (144 a+163 b) \cosh ^3(c+d x) \sinh (c+d x)}{192 d}-\frac {25 b^3 \cosh ^5(c+d x) \sinh (c+d x)}{48 d}+\frac {b^3 \cosh ^7(c+d x) \sinh (c+d x)}{8 d}-\frac {\left (b \left (384 a^2+144 a b+35 b^2\right )\right ) \operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\tanh (c+d x)\right )}{128 d}\\ &=\frac {1}{128} b \left (384 a^2+144 a b+35 b^2\right ) x+\frac {a^3 \coth (c+d x)}{d}-\frac {a^3 \coth ^3(c+d x)}{3 d}-\frac {3 b^2 (80 a+31 b) \cosh (c+d x) \sinh (c+d x)}{128 d}+\frac {b^2 (144 a+163 b) \cosh ^3(c+d x) \sinh (c+d x)}{192 d}-\frac {25 b^3 \cosh ^5(c+d x) \sinh (c+d x)}{48 d}+\frac {b^3 \cosh ^7(c+d x) \sinh (c+d x)}{8 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.78, size = 131, normalized size = 0.81 \[ \frac {b \left (9216 a^2 c+9216 a^2 d x-96 b (24 a+7 b) \sinh (2 (c+d x))+24 b (12 a+7 b) \sinh (4 (c+d x))+3456 a b c+3456 a b d x-32 b^2 \sinh (6 (c+d x))+3 b^2 \sinh (8 (c+d x))+840 b^2 c+840 b^2 d x\right )-1024 a^3 \coth (c+d x) \left (\text {csch}^2(c+d x)-2\right )}{3072 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.99, size = 567, normalized size = 3.52 \[ \frac {3 \, b^{3} \cosh \left (d x + c\right )^{11} + 33 \, b^{3} \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{10} - 41 \, b^{3} \cosh \left (d x + c\right )^{9} + 9 \, {\left (55 \, b^{3} \cosh \left (d x + c\right )^{3} - 41 \, b^{3} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{8} + 3 \, {\left (96 \, a b^{2} + 91 \, b^{3}\right )} \cosh \left (d x + c\right )^{7} + 21 \, {\left (66 \, b^{3} \cosh \left (d x + c\right )^{5} - 164 \, b^{3} \cosh \left (d x + c\right )^{3} + {\left (96 \, a b^{2} + 91 \, b^{3}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{6} - 3 \, {\left (1056 \, a b^{2} + 425 \, b^{3}\right )} \cosh \left (d x + c\right )^{5} + 3 \, {\left (330 \, b^{3} \cosh \left (d x + c\right )^{7} - 1722 \, b^{3} \cosh \left (d x + c\right )^{5} + 35 \, {\left (96 \, a b^{2} + 91 \, b^{3}\right )} \cosh \left (d x + c\right )^{3} - 5 \, {\left (1056 \, a b^{2} + 425 \, b^{3}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{4} + 8 \, {\left (512 \, a^{3} + 972 \, a b^{2} + 319 \, b^{3}\right )} \cosh \left (d x + c\right )^{3} - 16 \, {\left (256 \, a^{3} - 3 \, {\left (384 \, a^{2} b + 144 \, a b^{2} + 35 \, b^{3}\right )} d x\right )} \sinh \left (d x + c\right )^{3} + 3 \, {\left (55 \, b^{3} \cosh \left (d x + c\right )^{9} - 492 \, b^{3} \cosh \left (d x + c\right )^{7} + 21 \, {\left (96 \, a b^{2} + 91 \, b^{3}\right )} \cosh \left (d x + c\right )^{5} - 10 \, {\left (1056 \, a b^{2} + 425 \, b^{3}\right )} \cosh \left (d x + c\right )^{3} + 8 \, {\left (512 \, a^{3} + 972 \, a b^{2} + 319 \, b^{3}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{2} - 24 \, {\left (512 \, a^{3} + 204 \, a b^{2} + 63 \, b^{3}\right )} \cosh \left (d x + c\right ) + 48 \, {\left (256 \, a^{3} - 3 \, {\left (384 \, a^{2} b + 144 \, a b^{2} + 35 \, b^{3}\right )} d x - {\left (256 \, a^{3} - 3 \, {\left (384 \, a^{2} b + 144 \, a b^{2} + 35 \, b^{3}\right )} d x\right )} \cosh \left (d x + c\right )^{2}\right )} \sinh \left (d x + c\right )}{6144 \, {\left (d \sinh \left (d x + c\right )^{3} + 3 \, {\left (d \cosh \left (d x + c\right )^{2} - d\right )} \sinh \left (d x + c\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.45, size = 285, normalized size = 1.77 \[ \frac {3 \, b^{3} e^{\left (8 \, d x + 8 \, c\right )} - 32 \, b^{3} e^{\left (6 \, d x + 6 \, c\right )} + 288 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} + 168 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} - 2304 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} - 672 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} + 48 \, {\left (384 \, a^{2} b + 144 \, a b^{2} + 35 \, b^{3}\right )} {\left (d x + c\right )} - {\left (19200 \, a^{2} b e^{\left (8 \, d x + 8 \, c\right )} + 7200 \, a b^{2} e^{\left (8 \, d x + 8 \, c\right )} + 1750 \, b^{3} e^{\left (8 \, d x + 8 \, c\right )} - 2304 \, a b^{2} e^{\left (6 \, d x + 6 \, c\right )} - 672 \, b^{3} e^{\left (6 \, d x + 6 \, c\right )} + 288 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} + 168 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} - 32 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} + 3 \, b^{3}\right )} e^{\left (-8 \, d x - 8 \, c\right )} - \frac {8192 \, {\left (3 \, a^{3} e^{\left (2 \, d x + 2 \, c\right )} - a^{3}\right )}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{3}}}{6144 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 137, normalized size = 0.85 \[ \frac {a^{3} \left (\frac {2}{3}-\frac {\mathrm {csch}\left (d x +c \right )^{2}}{3}\right ) \coth \left (d x +c \right )+3 a^{2} b \left (d x +c \right )+3 a \,b^{2} \left (\left (\frac {\left (\sinh ^{3}\left (d x +c \right )\right )}{4}-\frac {3 \sinh \left (d x +c \right )}{8}\right ) \cosh \left (d x +c \right )+\frac {3 d x}{8}+\frac {3 c}{8}\right )+b^{3} \left (\left (\frac {\left (\sinh ^{7}\left (d x +c \right )\right )}{8}-\frac {7 \left (\sinh ^{5}\left (d x +c \right )\right )}{48}+\frac {35 \left (\sinh ^{3}\left (d x +c \right )\right )}{192}-\frac {35 \sinh \left (d x +c \right )}{128}\right ) \cosh \left (d x +c \right )+\frac {35 d x}{128}+\frac {35 c}{128}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 282, normalized size = 1.75 \[ \frac {3}{64} \, a b^{2} {\left (24 \, x + \frac {e^{\left (4 \, d x + 4 \, c\right )}}{d} - \frac {8 \, e^{\left (2 \, d x + 2 \, c\right )}}{d} + \frac {8 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d} - \frac {e^{\left (-4 \, d x - 4 \, c\right )}}{d}\right )} + 3 \, a^{2} b x - \frac {1}{6144} \, b^{3} {\left (\frac {{\left (32 \, e^{\left (-2 \, d x - 2 \, c\right )} - 168 \, e^{\left (-4 \, d x - 4 \, c\right )} + 672 \, e^{\left (-6 \, d x - 6 \, c\right )} - 3\right )} e^{\left (8 \, d x + 8 \, c\right )}}{d} - \frac {1680 \, {\left (d x + c\right )}}{d} - \frac {672 \, e^{\left (-2 \, d x - 2 \, c\right )} - 168 \, e^{\left (-4 \, d x - 4 \, c\right )} + 32 \, e^{\left (-6 \, d x - 6 \, c\right )} - 3 \, e^{\left (-8 \, d x - 8 \, c\right )}}{d}\right )} + \frac {4}{3} \, a^{3} {\left (\frac {3 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}} - \frac {1}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.07, size = 269, normalized size = 1.67 \[ x\,\left (3\,a^2\,b+\frac {9\,a\,b^2}{8}+\frac {35\,b^3}{128}\right )-\frac {4\,a^3}{3\,d\,\left ({\mathrm {e}}^{4\,c+4\,d\,x}-2\,{\mathrm {e}}^{2\,c+2\,d\,x}+1\right )}+\frac {b^3\,{\mathrm {e}}^{-6\,c-6\,d\,x}}{192\,d}-\frac {b^3\,{\mathrm {e}}^{6\,c+6\,d\,x}}{192\,d}-\frac {b^3\,{\mathrm {e}}^{-8\,c-8\,d\,x}}{2048\,d}+\frac {b^3\,{\mathrm {e}}^{8\,c+8\,d\,x}}{2048\,d}-\frac {8\,a^3\,{\mathrm {e}}^{2\,c+2\,d\,x}}{3\,d\,\left (3\,{\mathrm {e}}^{2\,c+2\,d\,x}-3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}-1\right )}-\frac {b^2\,{\mathrm {e}}^{-4\,c-4\,d\,x}\,\left (12\,a+7\,b\right )}{256\,d}+\frac {b^2\,{\mathrm {e}}^{4\,c+4\,d\,x}\,\left (12\,a+7\,b\right )}{256\,d}+\frac {b^2\,{\mathrm {e}}^{-2\,c-2\,d\,x}\,\left (24\,a+7\,b\right )}{64\,d}-\frac {b^2\,{\mathrm {e}}^{2\,c+2\,d\,x}\,\left (24\,a+7\,b\right )}{64\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________